#ifndef DEVSETUP_H
#define DEVSETUP_H

#include <QDialog>
#include "ui_devsetup.h"

class DevSetup : public QDialog
{
  Q_OBJECT
public:
  DevSetup(QWidget *parent=0);

  ~DevSetup();

  void SetInputIndex(int x)
  {
    ui.comboBoxSndIn->setCurrentIndex(x);
  }

  void SetOutputIndex(int x)
  {
    ui.comboBoxSndOut->setCurrentIndex(x);
  }

  int GetInputIndex()
  {
    return ui.comboBoxSndIn->currentIndex();
  }

  int GetOutputIndex()
  {
    return ui.comboBoxSndOut->currentIndex();
  }

  void setNetwork(bool b);

  bool isNetwork()
  {
    return m_requestNetwork;
  }

public slots:

signals:

private slots:
  void on_networkRadioButton_clicked();
  void on_soundCardRadioButton_clicked();

private:
  Ui::DialogSndCard ui;
  bool m_requestNetwork;
};

#endif // DEVSETUP_H
